package com.zsc.newbuds.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**回收实体类
 * @author D
 */
public class Recycle implements Serializable,Comparable<Recycle>{

    private Integer recycleId;
    private Integer userId;
    private float recycleWeight;
    private int recycleNumber;
    private int clothesNumber;
    private Integer workId;
    private String recycleTime;
    private String recycleArea;
    private String state;

    public String getRecycleTime() {
        return recycleTime;
    }

    public void setRecycleTime(String recycleTime) {
        this.recycleTime = recycleTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getClothesNumber() {
        return clothesNumber;
    }

    public void setClothesNumber(int clothesNumber) {
        this.clothesNumber = clothesNumber;
    }

    public Integer getRecycleId() {
        return recycleId;
    }

    public void setRecycleId(Integer recycleId) {
        this.recycleId = recycleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public float getRecycleWeight() {
        return recycleWeight;
    }

    public void setRecycleWeight(float recycleWeight) {
        this.recycleWeight = recycleWeight;
    }

    public int getRecycleNumber() {
        return recycleNumber;
    }

    public void setRecycleNumber(int recycleNumber) {
        this.recycleNumber = recycleNumber;
    }

    public Integer getWorkId() {
        return workId;
    }

    public void setWorkId(Integer workId) {
        this.workId = workId;
    }


    public String getRecycleArea() {
        return recycleArea;
    }

    public void setRecycleArea(String recycleArea) {
        this.recycleArea = recycleArea;
    }

    @Override
    public String toString() {
        return "Recycle{" +
                "recycleId=" + recycleId +
                ", userId=" + userId +
                ", recycleWeight=" + recycleWeight +
                ", recycleNumber=" + recycleNumber +
                ", clothesNumber=" + clothesNumber +
                ", workId=" + workId +
                ", recycleTime=" + recycleTime +
                ", recycleArea='" + recycleArea + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    @Override
    public int compareTo(Recycle o) {
        return this.recycleId - o.recycleId;
    }
}
